package com.backend.appointmanage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.backend.common.annotation.Excel;
import com.backend.common.core.domain.BaseEntity;

/**
 * 看房预约管理对象 viewing_appointment_manage_view
 * 
 * @author fusi
 * @date 2024-10-12
 */
public class ViewingAppointmentManageView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 移动端用户-申请-预约ID */
    private Long applyId;

    /** 看房预约ID */
    @Excel(name = "看房预约ID")
    private Long viewingAppointmentId;

    /** 预约详情 */
    private String appointmentDetails;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date appointmentTime;

    /** 状态（0未生效 1正在生效 2已过期） */
    @Excel(name = "状态", readConverterExp = "0=未生效,1=正在生效,2=已过期")
    private String status;

    /** 移动端用户ID */
    @Excel(name = "移动端用户ID")
    private Long mobileUserId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 公寓ID */
    @Excel(name = "公寓ID")
    private Long apartmentId;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    private String apartmentName;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long roomId;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;
    @Excel(name = "省份")
    private String province;
    @Excel(name = "城市")
    private String city;
    @Excel(name = "区/县")
    private String county;
    @Excel(name = "房间名称")
    private String roomLocation;
    @Excel(name = "状态", readConverterExp = "0=未上架,1=未出租,2=已出租")
    private String roomStatus;
    @Excel(name = "房间月租")
    private Long roomMonthlyRent;
    @Excel(name = "预约对应房间ID")
    private Long appointmentCorrespondRoomId;

    public Long getRoomMonthlyRent() {
        return roomMonthlyRent;
    }

    public void setRoomMonthlyRent(Long roomMonthlyRent) {
        this.roomMonthlyRent = roomMonthlyRent;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getRoomLocation() {
        return roomLocation;
    }

    public void setRoomLocation(String roomLocation) {
        this.roomLocation = roomLocation;
    }

    public String getRoomStatus() {
        return roomStatus;
    }

    public void setRoomStatus(String roomStatus) {
        this.roomStatus = roomStatus;
    }


    public Long getAppointmentCorrespondRoomId() {
        return appointmentCorrespondRoomId;
    }

    public void setAppointmentCorrespondRoomId(Long appointmentCorrespondRoomId) {
        this.appointmentCorrespondRoomId = appointmentCorrespondRoomId;
    }

    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setViewingAppointmentId(Long viewingAppointmentId) 
    {
        this.viewingAppointmentId = viewingAppointmentId;
    }

    public Long getViewingAppointmentId() 
    {
        return viewingAppointmentId;
    }
    public void setAppointmentDetails(String appointmentDetails) 
    {
        this.appointmentDetails = appointmentDetails;
    }

    public String getAppointmentDetails() 
    {
        return appointmentDetails;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMobileUserId(Long mobileUserId) 
    {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() 
    {
        return mobileUserId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setApartmentId(Long apartmentId) 
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId() 
    {
        return apartmentId;
    }
    public void setApartmentName(String apartmentName) 
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName() 
    {
        return apartmentName;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyId", getApplyId())
            .append("viewingAppointmentId", getViewingAppointmentId())
            .append("appointmentDetails", getAppointmentDetails())
            .append("appointmentTime", getAppointmentTime())
            .append("status", getStatus())
            .append("mobileUserId", getMobileUserId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("apartmentId", getApartmentId())
            .append("apartmentName", getApartmentName())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .toString();
    }
}
